import seasun.cache.redisSession as redissession
from seasun.datasoures import user_config

# redis client
_client = redissession.RedisSession.get_connection(0)

# 定义key值前缀
key_prefix = "send_key"

def redis_cache():
    '''
        将数据库中查出的用户发送信息放入redis缓存
    :return:
    '''

    # all = findAll.find_all()
    #
    # for a in all:
    #     key = key_prefix + str(a.id)
    #     _client.set(key,a)

redis_cache()